package com.hzy.app.model;


import java.util.Date;

/**
 * Jenkins下载记录对象 sc_task_log
 *
 * @author hzy
 * @date 2024-05-14
 */
public class TaskLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long taskLogId;

    /**
     * 任务主键
     */
    private Long taskId;

    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 任务分组
     */
    private String taskGroup;

    /**
     * 服务器资源位置
     */
    private String resourcePath;

    /**
     * 网络资源地址
     */
    private String resourceUrl;

    /**
     * 构建号
     */
    private Long buildNum;

    private Date buildTime;

    /**
     * 状态
     */
    private String status;

    public void setTaskLogId(Long taskLogId) {
        this.taskLogId = taskLogId;
    }

    public Long getTaskLogId() {
        return taskLogId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setResourcePath(String resourcePath) {
        this.resourcePath = resourcePath;
    }

    public String getResourcePath() {
        return resourcePath;
    }

    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public void setBuildNum(Long buildNum) {
        this.buildNum = buildNum;
    }

    public Long getBuildNum() {
        return buildNum;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskGroup() {
        return taskGroup;
    }

    public void setTaskGroup(String taskGroup) {
        this.taskGroup = taskGroup;
    }

    public Date getBuildTime() {
        return buildTime;
    }

    public void setBuildTime(Date buildTime) {
        this.buildTime = buildTime;
    }

    @Override
    public String toString() {
        return "TaskLog{" +
                "taskLogId=" + taskLogId +
                ", taskId=" + taskId +
                ", taskName='" + taskName + '\'' +
                ", taskGroup='" + taskGroup + '\'' +
                ", resourcePath='" + resourcePath + '\'' +
                ", resourceUrl='" + resourceUrl + '\'' +
                ", buildNum=" + buildNum +
                ", buildTime=" + buildTime +
                ", status='" + status + '\'' +
                '}';
    }
}
